{% extends "base.html" %} {% block title %}Lawyer Dashboard — LegalEase AI{% endblock %} {% block content %}

Lawyer Dashboard

{{ user.full_name }}  ·  {{ user.email }}

Logout
{% if notif_lawyers %}
{{ platform_notifications }}
Client Notifications
{{ platform_notifications }} pending request{{ 's' if platform_notifications != 1 else '' }} across {{ notif_lawyers|length }} lawyer{{ 's' if notif_lawyers|length != 1 else '' }} on the platform
{% for n in notif_lawyers %}
{{ n.lawyer.name[0].upper() }}
{{ n.lawyer.name }} {% if n.is_me %}YOUR PROFILE{% endif %}
{{ n.client_names|join(', ') }}{% if n.count > 3 %} +{{ n.count - 3 }} more{% endif %} — sent appointment request{{ 's' if n.count != 1 else '' }}
{{ n.count }} new {% if n.is_me %} Review Now {% else %}
{% endif %}
{% endfor %}
{% endif %} {% if lawyer %}
{{ lawyer.name[0].upper() }}
{{ lawyer.name }}
{{ lawyer.law_firm_name }}
{{ lawyer.city }}
⭐ {{ lawyer.rating }}
Rating
{{ lawyer.success_rate_percentage }}%
Success
{{ lawyer.experience_years }}y
Exp
{{ lawyer.total_cases_handled }}
Cases
{{ lawyer.specialization }} Rs. {{ lawyer.consultation_fee_pkr | int }} / session
{{ appointments|length }}
Total Appointments
{{ appointments|selectattr('status','equalto','pending')|list|length }}
Pending — Need Action
{{ appointments|selectattr('status','equalto','confirmed')|list|length }}
Confirmed
{% else %}
No lawyer profile linked yet. Use the Switch Lawyer Profile button below to connect your account.
{% endif %}
Virtual Office
Manage active cases, message clients, upload documents
AI Petition Drafting
Gemini AI writes formatted legal petitions for your cases
Court Filing
File petitions in Civil, Family, High Court — generate filing package PDF
Virtual Hearings
Join Zoom hearings with clients and judge — live video courtroom
Browse All Lawyers
Search and view all lawyers on the platform
Legal AI Chatbot
Ask Gemini AI any Pakistani civil law question
Document OCR
Opens inside your most recent case — upload FIR, sale deed, court notices for AI extraction
My Appointment Requests {% if appointments %} {{ appointments|length }} {% endif %}
{% if appointments %} {% for appt in appointments %} {% endfor %}
Client Appointment Case Notes Status Action
{{ appt.client_name[0].upper() }}
{{ appt.client_name }}
{{ appt.client_city }}
{% if appt.case_id %} View Full Case {% endif %}
{{ appt.appointment_date }}
{{ appt.appointment_time }}
{% if appt.case_category and appt.case_category != '—' %} {{ appt.case_category }}
{{ appt.case_summary }}
{% else %} No case linked {% endif %}
{{ appt.notes or '—' }}
{% if appt.status == 'confirmed' %} Confirmed {% elif appt.status == 'cancelled' %} Cancelled {% else %} Pending {% endif %} {% if appt.status == 'pending' %}
{% else %} {% endif %}
{% else %}
No appointments yet
When clients book appointments with you, they appear here.
{% endif %}
{% endblock %}